<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员注册</title>
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/DormitoryManager/css/css-manager/register.css">
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/DormitoryManager/css/css-other/icon.css">
    <script type="text/javascript">
        function toLogin()
        {
            window.location.href="http://localhost:8080/DormitoryManager/html/manager/login.html"
        }
    </script>
</head>
<body>
<div id="registerBox">
    <h1>Manager Register</h1>
    <form id="registerForm" action="http://localhost:8080/DormitoryManager/mvc/managerRegister.do" method="post">
        <table id="registerTable">
            <tr>
                <td id="tdName"><i id="nameIcon" class="iconfont">&#xe669;</i><input id="inputName" type="text" name="name" placeholder="name"></td>
            </tr>

            <tr>
                <td id="tdPassword"><i id="passwordIcon" class="iconfont">&#xe668;</i><input id="inputPassword" type="password" name="password" placeholder="password"></td>
            </tr>

            <tr>
                <td id="tdSubmit"><input id="inputSubmit" type="submit" value="Sign up" title="点击注册"></td>
            </tr>
        </table>
    </form>
        <br/>
        <i id="toLogin" class="iconfont" title="返回登录界面" onclick="toLogin()">&#xe78a;</i>
</div>
</body>
</html>